package com.woniuxy.dao;

import com.woniuxy.entity.*;

import java.util.List;

public interface StudentsDao {
    List<StudentsEntity> findAll();
    /**根据id，删除试卷菜单中的指定类别*/
    int deleteById(int id);
    /**批量删除*/
    int batchDelete(StudentsEntity studentsEntity);
    /**添加学生信息*/
    int insertStudent(StudentsEntity studentsEntity);
    /**修改学生信息之前，先访问信息*/
    StudentsEntity updateBefore(StudentsEntity studentsEntity);
    /**修改学生信息*/
    int updateStudent(StudentsEntity studentsEntity);
    /**   按试卷分类名称搜索*/
    List<StudentsEntity> searchStudent(StudentsEntity studentsEntity);

    List<ExamineeSum> findErecord(int studentId);
}
